package ru.lukyanets.transmission.protocol.client.builder;

/**
 * @author slukyanets
 */
public final class HostInfo {
    private String host;
    private Integer port;
    private String username;
    private String password;

    public HostInfo() {
    }

    public HostInfo(String host, Integer port) {
        this.host = host;
        this.port = port;
    }

    public HostInfo(HostInfo other) {
        this.host = other.getHost();
        this.port = other.getPort();
        this.username = other.getUsername();
        this.password = other.getPassword();
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
